{include file="header"}
<div class="x-nav">
    <a>
        <cite style="font-size: 18px;">用户管理</cite></a>
    </span>
    <a class="layui-btn layui-btn-small" href="/" style="line-height:1.6em;margin-top:3px;float:right" title="返回主页">
        <i class="layui-icon" style="line-height:30px">返回主页</i></a>
</div>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body ">
                    <form method="get" action="{:url('member/index')}" class="layui-form layui-col-space5">
                        <div class="layui-inline layui-show-xs-block">
                            <input type="text" class="layui-input" name="nickname" placeholder="昵称搜索" value="{:request()->get('nickname',null)}">
                        </div>
                        <div class="layui-inline layui-show-xs-block">
                            <button class="layui-btn" type="submit"><i class="layui-icon">&#xe615;</i></button>
                        </div>
                    </form>
                </div>
                <div class="layui-card-header">

                </div>
                <div class="layui-card-body ">
                    <table class="layui-table layui-form">
                        <thead>
                        <tr>
                            <th width="50">ID</th>
                            <th>用户</th>
<!--                            <th>openid</th>-->
<!--                            <th>抽奖次数</th>-->
<!--                            <th>是否分享过</th>-->
                            <th>注册时间</th>
                        </tr>
                        </thead>
                        <tbody>
                        {volist name="lists" id="item"}
                        <tr>

                            <td>{$item.id}</td>
                            <td>
                                <img src="{$item.headimgurl}" alt="" class="thumb">
                                &nbsp;&nbsp;
                                {$item.nickname}
                            </td>
<!--                            <td>-->
<!--                                {$item.openid}-->
<!--                            </td>-->
<!--                            <td>{$item.lottery_num}</td>-->
<!--                            <td>{if $item.has_share eq 1}是{/if}</td>-->

                            <th>{$item.add_time}</th>

                        </tr>
                        {/volist}
                        </tbody>
                    </table>
                </div>
                <div class="layui-card-body ">
                    {$lists|raw}
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script>
    function sel(id,title,thumb){
        window.parent.selprize(id,title,thumb);
        xadmin.close();
    }
    layui.use(['form'], function() {
        var form = layui.form;

    })


</script>
{include file="footer"}